package com.example.springsecurity.mapper;

import com.example.springsecurity.domain.TbClass;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @ClassName TbClassMapper
 * @Description TODO
 * @Author lvyongwei
 * @Date
 **/
@Mapper
public interface TbClassMapper {

    /**
     * 获取所有班级信息
     * @return
     */
    public List<TbClass> getAllTbClass();

    /**
     * 添加班级信息
     * @param tbClass
     * @return
     */
    public boolean insertClass(TbClass tbClass);


    /**
     * 修改班级信息
     * @param tbClass
     * @return
     */
    public boolean updateClass(TbClass tbClass);
}
